home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sounds Terrific 1
/
Sounds Terrific CD (1994)(Weird Science)(Disc 2 of 2)[!][Amiga-PC].iso
/
modules
/
e
/
e1mod002.mod
< prev
next >
Wrap
Text File
|
1994-08-04
|
2KB
|
44 lines
E1MOD002 for WWIV 4.20 ■ Current line: XXX in Message Editor
Harlan Landes #313 @6905
2Saturday, 1December 17, 11991 at 24:535pm
/---------------------------------------------------------------------------\
| EVENT ONE MODIFICATIONS RELEASE ■ NUMBER 002 ■ Written by Fenric ■ 1@6916 |
+---------------------------------------------------------------------------+
| "Current line: XXX in Message Editor" ■ December 7, 1991 |
| Difficulty: Easy ■ Event One BBS (609) 426-1618 |
\---------------------------------------------------------------------------/
WWIV 4.20
DESCRIPTION:
This modification prints the message "Current Line: XXX" at the top of the
screen in the WWIV line editor. It will only do this if the user has ANSI.
All it takes is a simple blockread.
STEP 1:
Back up your source! Even though this is a small modification, you want to
make sure that nothing happens to the rest of your files.
STEP 2:
Load up MSGBASE.C and search for void inmsg(...). Search down for the
following code marked with /*=*/ and add code marked with /*+*/.
/*=*/ s[thisuser.screenchars]=0;
/*=*/ npr(s);
/*=*/ pl(s1);
/*=*/
/*=*/ while (!done) {
/*=*/ helpl=27;
/*+*/ if (okansi()) {
/*+*/ sprintf(s,"\x03""1■ ""\x03""2Current line: ""\x03""4%-3u",(curli+1));
/*+*/ outstr("\x1B""[s""\x1B""[1;60f");
/*+*/ outstr(s);
/*+*/ outstr("\x1B""[u""\x03""0");
/*+*/ }
/*=*/ inli(s,ro,160,1);
Just block-read it in, and you're done. Save MSGBASE.C and recompile.
If you have any problems, email WWIVnet 1@6916 or InterNet
shari@phoenix.Princeton.EDU.
6» 1Call Tech Line Today 7-== Since 1988 ==- 1609-627-3291 Lindenwold NJ 6« 5WWIVnet @6905 AC2 1.2 GIGS, 150+ Doors, 40+Megs Sysop files 5VirtualNET @6905 AC 4USRobotics Dual Std 144000 7(2v.327/2v.32bis7/2v.427/2v.bis7/2HST7/2ASL7) 3<538400 DTE3>0